package com.ruibang.glass.equipment.entity.device;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel
@TableName(value = "g_equipment_inventory_management")
/**
 * 仓库管理
 */
public class InventoryManagement extends BaseEntity implements Serializable {
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "备件名称")
    private String sparePartsName;
    @ApiModelProperty(value = "型号")
    private String model;
    @ApiModelProperty(value = "型号")
    private String modelId;
    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "单位")
    private String unitId;

    @ApiModelProperty(value = "入库数量")
    private Integer inboundQuantity;
    @ApiModelProperty(value = "入库时间")
    private LocalDateTime inboundTime;
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;
    @ApiModelProperty(value = "货架号")
    private String shelfNumber;
    @ApiModelProperty(value = "物管出库单号")
    private String issueNumber;

    @ApiModelProperty(value = "备件名称Id")
    private String sparePartsId;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseId;

    @ApiModelProperty(value = "是否删除(1：是 0：否)")
    @TableLogic
    private String isDelete;
    @ApiModelProperty(value = "备件编号")
    private String sparePartsNumber;


}
